return code câu
- A return code of 0 usually means the operation was successful.
Mã trả lại của việc thực thi thường là 0 kí hiệu cho thực thi thành công. - Use Exceptions rather than Return codes
Use Exceptions Rather Than Return Codes (Sử dụng Exceptions hơn là trả về giá trị trong code) - Each return code is a three-digit number, the first of which signifies a successful execution (the first digit is 1, 2, or 3) or a failure (the first digit is 4 or 5).
Mỗi return code là số có 3 chữ số, số đầu tiên báo thi hành thành công (số đầu tiên là 1, 2, hay 3) hoặc thất bại (số đầu tiên là 4 hay 5). - Each return code is a three-digit number, the first of which signifies a successful execution (the first digit is 1, 2, or 3) or a failure (the first digit is 4 or 5).
Mỗi return code là số có 3 chữ số, số đầu tiên báo thi hành thành công (số đầu tiên là 1, 2, hay 3) hoặc thất bại (số đầu tiên là 4 hay 5). - This is basically just like the Popen class and takes all of the same arguments, but it simply waits until the command completes and gives you the return code.
Điều này về cơ bản giống như Popen lớp và nhận tất cả các đối số giống nhau, nhưng nó chỉ đơn giản chờ cho đến khi lệnh hoàn tất và cung cấp cho bạn mã trả về. - When this I/O operation finishes, and the calling thread is blocked in an alertable wait state, the operating system calls the function pointed to by lpCompletionRoutine, and the wait completes with a return code of WAIT_IO_COMPLETION.
Khi quá trình I/O này kết thúc, và lệnh gọi thread bị khóa trong alertable wait state, hệ thống gọi hàm IpCompletionRoutine, và sự chờ đợi hoàn thành với đoạn code trở lại WAIT_IO_COMPLETION. - When this I/O operation finishes, and the calling thread is blocked in an alertable wait state, the operating system calls the function pointed to by lpCompletionRoutine, and the wait completes with a return code of WAIT_IO_COMPLETION.
Khi quá trình I/O này kết thúc, và lệnh gọi thread bị khóa trong alertable wait state, hệ thống gọi hàm IpCompletionRoutine, và alertable wait state hoàn thành với đoạn code trở lại WAIT_IO_COMPLETION. - (As another example: If you ever looked for a web page that was not found, and then received an HTTP 404 “not found” error, you received an HTTP return code of 404.)
(Ở đây cho ví dụ: nếu bạn thấy một trang web yêu cầu không tồn tại thì khi đó bạn sẽ nhận được một mã phản hồi là HTTP 404 “not Found” có nghĩa là trang web mà bạn yêu cầu không tìm thấy.)
- return Well, since you're in such a giving mood, allow me to return the favor. Vì...
- code Điều này làm cho code dài hơn, nhưng nó có ý nghĩa hơn. Đã bao giờ bạn viết...